Skip to content

Conversation

kubamracek
Copy link
Contributor

See the attached testcase that demonstrates the problem: Currently, the test fails to link with a missing symbol referencing the other module's class vtable, because (1) CMO doesn't serialize vtables, (2) IRGen doesn't emit class metadata when there isn't a Decl for the class in the module.

@kubamracek
Copy link
Contributor Author

@swift-ci

@kubamracek kubamracek added the embedded Embedded Swift label Oct 5, 2023
@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek kubamracek requested a review from eeckstein October 6, 2023 03:57
Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@kubamracek kubamracek force-pushed the embedded-serialize-vtables branch from 4f32c08 to c5dd11a Compare October 6, 2023 18:12
@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek kubamracek merged commit 5a9807a into swiftlang:main Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
embedded Embedded Swift
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants